/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PnlReport.java
 *
 * Created on 9 ก.พ. 2553, 0:46:44
 */

package Inventory;

/**
 *
 * @author Poko
 */
public class PnlReport extends javax.swing.JPanel {

    /** Creates new form PnlReport */
    public PnlReport() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlHeadReport = new javax.swing.JPanel();
        lblHeadReport = new javax.swing.JLabel();
        btnHome = new javax.swing.JButton();
        pnlReport = new javax.swing.JPanel();
        btnReportPr = new javax.swing.JButton();
        btnReportPo = new javax.swing.JButton();
        btnReportReceive = new javax.swing.JButton();
        btnReportCheck = new javax.swing.JButton();
        btnReportPayment = new javax.swing.JButton();
        btnReportManternance = new javax.swing.JButton();
        btnReportSupplier = new javax.swing.JButton();
        btnReportEmployee = new javax.swing.JButton();
        btnReportFunction = new javax.swing.JButton();
        btnReportProduct = new javax.swing.JButton();

        setMaximumSize(new java.awt.Dimension(700, 500));
        setMinimumSize(new java.awt.Dimension(700, 500));
        setLayout(new java.awt.BorderLayout());

        pnlHeadReport.setBackground(new java.awt.Color(204, 255, 204));
        pnlHeadReport.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        pnlHeadReport.setMaximumSize(new java.awt.Dimension(700, 80));
        pnlHeadReport.setMinimumSize(new java.awt.Dimension(700, 80));
        pnlHeadReport.setPreferredSize(new java.awt.Dimension(700, 80));

        lblHeadReport.setFont(new java.awt.Font("Tahoma", 1, 16));
        lblHeadReport.setText("รายงาน");

        btnHome.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/refresh_30x30.gif"))); // NOI18N
        btnHome.setMaximumSize(new java.awt.Dimension(40, 40));
        btnHome.setMinimumSize(new java.awt.Dimension(40, 40));
        btnHome.setPreferredSize(new java.awt.Dimension(40, 40));

        javax.swing.GroupLayout pnlHeadReportLayout = new javax.swing.GroupLayout(pnlHeadReport);
        pnlHeadReport.setLayout(pnlHeadReportLayout);
        pnlHeadReportLayout.setHorizontalGroup(
            pnlHeadReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHeadReportLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlHeadReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnHome, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblHeadReport))
                .addGap(624, 624, 624))
        );
        pnlHeadReportLayout.setVerticalGroup(
            pnlHeadReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHeadReportLayout.createSequentialGroup()
                .addGap(10, 10, 10)
                .addComponent(lblHeadReport)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnHome, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        add(pnlHeadReport, java.awt.BorderLayout.PAGE_START);

        pnlReport.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N

        btnReportPr.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportPr.setText("การขอซื้อ");
        btnReportPr.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportPr.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportPr.setPreferredSize(new java.awt.Dimension(200, 40));

        btnReportPo.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportPo.setText("การสั่งซื้อ");
        btnReportPo.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportPo.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportPo.setPreferredSize(new java.awt.Dimension(200, 40));

        btnReportReceive.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportReceive.setText("การรับสินค้า");
        btnReportReceive.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportReceive.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportReceive.setPreferredSize(new java.awt.Dimension(200, 40));

        btnReportCheck.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportCheck.setText("การตรวจสอบสินค้า");
        btnReportCheck.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportCheck.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportCheck.setPreferredSize(new java.awt.Dimension(200, 40));

        btnReportPayment.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportPayment.setText("การชำระเงิน");
        btnReportPayment.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportPayment.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportPayment.setPreferredSize(new java.awt.Dimension(200, 40));

        btnReportManternance.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportManternance.setText("การซ่อม/เครมสินค้า");
        btnReportManternance.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportManternance.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportManternance.setPreferredSize(new java.awt.Dimension(200, 40));

        btnReportSupplier.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportSupplier.setText("Supplier");
        btnReportSupplier.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportSupplier.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportSupplier.setPreferredSize(new java.awt.Dimension(200, 40));

        btnReportEmployee.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportEmployee.setText("พนักงาน");
        btnReportEmployee.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportEmployee.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportEmployee.setPreferredSize(new java.awt.Dimension(200, 40));

        btnReportFunction.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportFunction.setText("หน้าที่");
        btnReportFunction.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportFunction.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportFunction.setPreferredSize(new java.awt.Dimension(200, 40));

        btnReportProduct.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnReportProduct.setText("สินค้า");
        btnReportProduct.setMaximumSize(new java.awt.Dimension(200, 40));
        btnReportProduct.setMinimumSize(new java.awt.Dimension(200, 40));
        btnReportProduct.setPreferredSize(new java.awt.Dimension(200, 40));

        javax.swing.GroupLayout pnlReportLayout = new javax.swing.GroupLayout(pnlReport);
        pnlReport.setLayout(pnlReportLayout);
        pnlReportLayout.setHorizontalGroup(
            pnlReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlReportLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlReportLayout.createSequentialGroup()
                        .addComponent(btnReportPayment, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnReportManternance, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlReportLayout.createSequentialGroup()
                        .addComponent(btnReportCheck, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnReportEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlReportLayout.createSequentialGroup()
                        .addComponent(btnReportReceive, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnReportSupplier, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlReportLayout.createSequentialGroup()
                        .addComponent(btnReportPo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnReportProduct, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlReportLayout.createSequentialGroup()
                        .addComponent(btnReportPr, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnReportFunction, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(270, Short.MAX_VALUE))
        );
        pnlReportLayout.setVerticalGroup(
            pnlReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlReportLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnReportPr, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnReportFunction, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnReportPo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnReportProduct, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnReportReceive, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnReportSupplier, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnReportCheck, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnReportEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlReportLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnReportPayment, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnReportManternance, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(156, Short.MAX_VALUE))
        );

        add(pnlReport, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnHome;
    private javax.swing.JButton btnReportCheck;
    private javax.swing.JButton btnReportEmployee;
    private javax.swing.JButton btnReportFunction;
    private javax.swing.JButton btnReportManternance;
    private javax.swing.JButton btnReportPayment;
    private javax.swing.JButton btnReportPo;
    private javax.swing.JButton btnReportPr;
    private javax.swing.JButton btnReportProduct;
    private javax.swing.JButton btnReportReceive;
    private javax.swing.JButton btnReportSupplier;
    private javax.swing.JLabel lblHeadReport;
    private javax.swing.JPanel pnlHeadReport;
    private javax.swing.JPanel pnlReport;
    // End of variables declaration//GEN-END:variables

}
